import { lazy} from "react" // 用于路由懒加载的
let routerlist = [
    {
        path:"/a",
        component:lazy(()=>import("../pages/a")),
        children:[
            {
                path:"/a/ason",
                component:lazy(()=>import("../pages/ason"))
            },
            {
               from:"/a",
               to:"/a/ason"
            }
        ]
    },
    {
        path:"/b",
        component:lazy(()=>import("../pages/b"))
    },
    {
        from:"/",
        to:"/a"
    }

]
export default routerlist